package com.anlia.progressbar;

import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class ExampleOhosTest {
    @Test
    public void testNum(){
        CircleBarView circleBarView = new CircleBarView(AbilityDelegatorRegistry.getAbilityDelegator().getAppContext());
        circleBarView.setMaxNum(10);
        circleBarView.setProgressNum(10,5000);
    }
    @Test
    public void testWaveNum(){
        WaveProgressView circleBarView = new WaveProgressView(AbilityDelegatorRegistry.getAbilityDelegator().getAppContext());
        circleBarView.setDrawSecondWave(false);
        circleBarView.setProgressNum(10,5000);
    }
}